<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/include/taglib.jsp" %>
<!DOCTYPE html >
<html>
<head>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>后台管理--机构列表</title>
    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet"/>
    <link href="${ctxStatic}/css/kpiuitanchu.css" rel="stylesheet"/>
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>
    <style>
        html, body {
            color: #ffffff
        }

        .td_right {
            text-align: right;
            min-width: 70px
        }

        .td_rightmy {
            width: 20%;
            text-align: right
        }

        .td_left {
            width: 30%;
            text-align: left;
        }

        .divtable {
        }

        .divtable .tablep {
            border: 1px solid #c2c2c2;
            border-collapse: collapse;
        }

        .divtable .tablep td {
            height: 40px;
            border: 1px solid #c2c2c2;
            padding-left: 20px
        }

        .divsub {
            width: 100%
        }

        .divsub table {
            width: 100%;
            border: 0;
        }

        .divsub table td {
            height: 20px;
            border-right: 1px solid #c2c2c2;
        }

        .divsub table th {
            height: 60px;
            border-right: 1px solid #c2c2c2;
            text-align: center
        }

        .textinput {
            height: 38px;
            width: 95%;
            border: 0;
            padding-left: 10px;
            outline: none
        }

        .layui-textarea {
            margin-top: 0;
            background: none
        }
    </style>
</head>
<body>

<div style="width:100%;margin:0 auto;text-align: center;padding:5px 0;font-size:16px;font-weight: bold;">
    北京市公安局公务员平时考核（党员民主评议）登记表
</div>

<div style="width:100%;margin:0 auto;overflow-y:auto " class="divtable" id="divtable">
    <table style="width:100%" class="tablep">
        <tr>
            <td class="td_rightmy">姓名：</td>
            <td class="td_left">
                ${entity.realname}
            </td>
            <td class="td_rightmy">政治面貌：</td>
            <td class="td_left">
                ${entity.zzmm}
            </td>
        </tr>
        <tr>
            <td class="td_rightmy">工作单位职务：</td>
            <td class="td_left" colspan="3">
                ${entity.gzdw} ${entity.zw}
            </td>
        </tr>
        <tr>
            <td class="td_rightmy">从事工作：</td>
            <td class="td_left">
                ${entity.csgz}
            </td>
            <td class="td_rightmy">考核周期：</td>
            <td class="td_left">
                ${entity.khzq}
            </td>
        </tr>
        <tr>
            <td class="td_rightmy" style="height:80px">工作业绩：</td>
            <td class="td_left" colspan="3" style="padding:0">
                <textarea class="layui-textarea" name="gzyj" readonly="readonly">${entity.gzyj}</textarea>
            </td>
        </tr>
        <tr>
            <td class="td_rightmy" style="height:80px">存在不足：</td>
            <td class="td_left" colspan="3" style="padding:0">
                <textarea class="layui-textarea" name="czbz" readonly="readonly">${entity.czbz}</textarea>
            </td>
        </tr>
        <tr>
            <td class="td_rightmy">自评结果：</td>
            <td class="td_left" colspan="3">
                ${entity.zpjg}
            </td>
        </tr>
        <tr>
            <td class="td_rightmy" style="height:80px">考勤情况：</td>
            <td class="td_left" colspan="3" style="padding: 0;margin: 0;vertical-align: top">
                <div class="divsub">
                    <table>
                        <thead>
                        <tr>
                            <th>出勤<br/>天数</th>
                            <th>加班<br/>天数</th>
                            <th>休假<br/>天数</th>
                            <th>病事假<br/>天数</th>
                            <th>工伤、孕产<br/>假天数</th>
                            <th>迟到<br/>次数</th>
                            <th>早退<br/>次数</th>
                            <th style="border:0">旷工<br/>次数</th>
                        </tr>
                        </thead>

                        <tbody>
                        <tr>
                            <td style="border-bottom:0;border-left:0">
                                ${entity.kqcqts}
                            </td>
                            <td style="border-bottom:0">
                                ${entity.kqjbts}
                            </td>
                            <td style="border-bottom:0">
                                ${entity.kqxjts}
                            </td>
                            <td style="border-bottom:0">
                                ${entity.kqbsjts}
                            </td>
                            <td style="border-bottom:0">
                                ${entity.kqgsycjts}
                            </td>
                            <td style="border-bottom:0">
                                ${entity.kqcdcc}
                            </td>
                            <td style="border-bottom:0">
                                ${entity.kqztcc}
                            </td>
                            <td style="border-bottom:0">
                                ${entity.kqkgcc}
                            </td>
                        </tr>
                        </tbody>

                    </table>
                </div>
            </td>
        </tr>

        <tr>
            <td class="td_rightmy">内部互评分(${entity.hpqz}%权重)：</td>
            <td class="td_left">
                ${entity.nbhpdf}
                <input type="hidden" name="hpqz" value="${entity.hpqz}">
            </td>
            <td class="td_rightmy">领导评鉴得分(${entity.ldqz}%权重)：</td>
            <td class="td_left">
                ${entity.ldpjdf}
                <input type="hidden" name="ldqz" value="${entity.ldqz}">
            </td>
        </tr>
        <tr>
            <td class="td_rightmy" style="height:80px">领导评议内容：</td>
            <td class="td_left" colspan="3" style="padding:0">
                <textarea class="layui-textarea" name="ldpynr" readonly="readonly">${entity.ldpynr }</textarea>
            </td>
        </tr>
        <tr>
            <td class="td_rightmy">平时考核综合得分：</td>
            <td class="td_left" colspan="3">
                ${entity.pskhzhdf}
            </td>
        </tr>
        <tr>
            <td class="td_rightmy">组织评定结果：</td>
            <td class="td_left" colspan="3" style="padding-left:20px">
                ${entity.zzpdjg}
            </td>
        </tr>
        <tr>
            <td class="td_rightmy">党员民主评议结果：</td>
            <td class="td_left" colspan="3" style="padding-left:20px">
                ${entity.dymzpyjg}
            </td>
        </tr>
        <tr>
            <td class="td_rightmy">本人签名：</td>
            <td class="td_left"></td>
            <td class="td_rightmy">日期：</td>
            <td class="td_left"></td>
        </tr>

    </table>
    <div style="width:100%;height:200px;margin-top:10px">
        <iframe src="../common/user_vtdp?userid=${entity.userid}&year=${entity.year}&quarter=${entity.quarter}"
                width="100%" height="100%" style="display: block;border:0;padding:0;margin:0;" frameborder="no"
                border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
    </div>
</div>


<div style="width:90%;text-align: right;margin-top:15px;margin-right:100px">
    <input type="button" class="button" value="导出打印" onclick="ExportMzpd()">
    <input type="button" class="button" value="返回列表" onclick="x()"/>
</div>

<input type="hidden" value="${entity.userid }" name="userid">
<input type="hidden" value="${entity.year }" name="year">
<input type="hidden" value="${entity.quarter }" name="quarter">

<input type="hidden" value="${entity.mzpdid }" name="mzpdid" id="mzpdid">
<script>

    layui.use('form', function () {
        var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功
        form.render();
    });

    $("#divtable").height($(window).height() - 140);

    function ExportMzpd() {
        var mzpdid = $("#mzpdid").val();
        // window.parent._exportentity(mzpdid);
try {

    top.frames["iframe"].vUserUATMzpdHz.exportentity(mzpdid)
}catch (e) {
    top.frames["iframe"].vUserUATMzpd.exportentity(mzpdid)

}


    }

    function CloseDialog(result, msg) {
        top.frames["iframe"].UserUATMzpd.addresult(result, msg);
    }

    function x() {
        //window.parent._changeTab()

        try {

            top.frames["iframe"].vUserUATMzpdHz.ChangeTab(1)
        }catch (e) {
            top.frames["iframe"].vUserUATMzpd.ChangeTab(1)

        }

    }
</script>
</body>
</html>
